<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', 'IndexController@index');

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');

// 古桥简介
Route::get('news/introduction', 'NewsController@introduction')->name('news.introduction');
// 新闻分类
Route::get('news/{news_sort}/sort', 'NewsController@sort')->name('news.sort');
Route::resource('news', 'NewsController');

// 古桥
Route::resource('bridges', 'BridgesController');
